<template>
  <div>
    <ant-card>
      <template #content>
        <div class="topTitle">周值班数据统计</div>
        <base-bar :alias="alias" :sourceData="sourceData" />
      </template>
    </ant-card>
  </div>
</template>
<script lang="ts">
const AntCard = () => import("../../components/Card.vue");
import { Base } from "../../models/Chat/BaseBar";
const BaseBar = () => import("../../components/Chart/BaseBar/index.vue");
import { Component, Vue } from "vue-property-decorator";
@Component({
  name: "dutymodule-home",
  layout: "menu",
  components: {
    BaseBar,
    AntCard
  }
})
export default class DutyModuleHome extends Vue {
  alias: string = "次数";
  sourceData: Base[] = [
    {
      value: 1,
      label: "测试人员1"
    },
    {
      label: "测试人员2",
      value: 6
    }
  ];
}
</script>
<style lang="less" scoped>
.topTitle {
  text-align: center;
  font-size: 30px;
  margin-bottom: 15px;
  margin-top: 15px;
}
</style>